package com.tjetc.hw2;

import java.io.*;

public class hw6 {
    public static void main(String[] args) throws IOException {
        FileInputStream fileInputStream = new FileInputStream("a.txt");
        InputStreamReader inputStreamReader = new InputStreamReader(fileInputStream,"GBK");
        BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
        String line;
        while ((line =bufferedReader.readLine())!=null){
            System.out.println(line);
        }
    }
}
